//
//  CAAppDelegate.h
//  qiche
//
//  Created by Seimei on 12-11-6.
//  Copyright (c) 2012年 iCar. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CACar.h"
#import "SensorsService.h"
#import "MBProgressHUD.h"
#import "CAObject.h"

@interface CAAppDelegate : UIResponder <UIApplicationDelegate, UITabBarControllerDelegate,MBProgressHUDDelegate>
{
    NSUInteger bgTask;
    MBProgressHUD *HUD;
}

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) UITabBarController *tabBarController;

@property (strong, nonatomic) CACar *device;
@property (nonatomic, retain) CAVinObject    *carVin;
@property (nonatomic, retain) NSMutableArray *carVinList;
@property (nonatomic, retain) NSMutableArray *weiboObjectList;
@property (nonatomic, retain) NSString    *userName;//用户登陆名称

- (void) myTask;

- (void) applicationSwitchRoot;
+ (CAAppDelegate *)globalAppdelegate;
- (void) initView;
@end
